import request from '@/utils/request'

export function getTask(params) {
  return request({
    url: 'http://172.16.50.89:5000/task/',
    method: 'get',
    params
  })
}

export function runTask(params) {
  return request({
    url: 'http://172.16.50.89:5000/task/',
    method: 'post',
    data: params
  })
}
